Skip to content

feat: Add custom AI system prompt functionality#33

Open
coderdevang wants to merge 1 commit into
mainfrom
feature/custom-ai-prompt-16786742967922085289
Open

feat: Add custom AI system prompt functionality#33
coderdevang wants to merge 1 commit into
mainfrom
feature/custom-ai-prompt-16786742967922085289

Conversation

@coderdevang

Copy link
Copy Markdown
Owner

This feature adds a settings modal that allows users to customize the AI's system prompt.

  • A "Settings" button has been added to the main UI, which opens a modal.
  • The modal contains a textarea where users can input their own system prompt.
  • The custom prompt is saved to localStorage and persists across sessions.
  • A "Reset to Default" button is provided to restore the original prompt.
  • The AI generation logic now uses the custom prompt if it exists.
  • A Playwright test has been added to verify the functionality of the settings modal and the custom prompt.
  • The __pycache__ directory has been added to the .gitignore file.

This change is a small, high-value feature that does not break any existing functionality. It gives users more control over the AI's behavior and allows for a more personalized experience.


PR created automatically by Jules for task 16786742967922085289 started by @coderdevang

This commit introduces a new feature that allows users to customize the AI's system prompt.

A settings modal has been added to the UI, which can be accessed via a "Settings" button. Inside the modal, users can input a custom system prompt, which is then saved to `localStorage` for persistence. A "Reset to Default" button is also available to restore the original prompt.

The AI generation logic has been updated to use the custom prompt, allowing for more flexible and user-defined mind-map generation.

A Playwright test has been added to ensure the functionality of the settings modal, including saving and loading the custom prompt from `localStorage` and verifying that the AI uses the custom prompt when generating new nodes.

Finally, the `__pycache__` directory has been added to the `.gitignore` file to prevent Python cache files from being committed to the repository.

Co-authored-by: coderdevang <85845460+coderdevang@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel

vercel Bot commented Jan 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nodeverse Ready Ready Preview, Comment Jan 29, 2026 3:56am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant